package com.lk.springboot.service.impl;

import com.lk.springboot.bean.Category;
import com.lk.springboot.mapper.CategoryMapper;
import com.lk.springboot.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lk
 * @date 2020/1/9 0009 21:19
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    CategoryMapper categoryMapper;


    @Override
    public List<Category> findList() {
        return categoryMapper.findAll();
    }
}
